package com.summer.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.dto.BindTeachPlanMediaDto;
import com.summer.pojo.TeachplanMedia;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

public interface TeachplanMediaService{

    /**
     * 课程计划绑定媒资实现：向teachplan_media表添加媒资数据
     *
     * @param bindTeachplanMediaDto dto
     */
    void associationMedia(BindTeachPlanMediaDto bindTeachplanMediaDto);

    /**
     * 删除媒资信息
     * @param teachPlanId 课程计划id
     * @param mediaFileId 媒资文件id
     */
     void deleteAssociationMedia(@PathVariable Long teachPlanId, @PathVariable String mediaFileId);
}
